From: Evan Welsh Date: Sun, 30 Jul 2023 08:33:14 +0000 (+0300) Subject: lint: Only require jsdoc for exported functions X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~1^2~48 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4642a8541d905ef781cfb1cc3e06cbc871b5bfe3;p=gnome-shell.git lint: Only require jsdoc for exported functions Part-of: --- diff --git a/lint/eslintrc-shell.yml b/lint/eslintrc-shell.yml index 697af8189..155474b74 100644 --- a/lint/eslintrc-shell.yml +++ b/lint/eslintrc-shell.yml @@ -14,6 +14,11 @@ rules: afterColon: true prefer-arrow-callback: error jsdoc/require-param-description: off + jsdoc/require-jsdoc: + - error + - exemptEmptyFunctions: true + publicOnly: + esm: true overrides: - files: